# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=buckygen
pkgver=1.1
pkgrel=2
pkgdesc='A program for the efficient generation of all nonisomorphic fullerenes'
arch=(loong64 x86_64)
url='https://caagt.ugent.be/buckygen/'
license=(GPL)
depends=(glibc)
source=(https://caagt.ugent.be/$pkgname/$pkgname-$pkgver.zip)
sha256sums=('c151b33078913bed7f72977821d246c6dda5e01b64a53d963b5f95b65852e634')

build() {
  cd $pkgname-$pkgver
  make CC="gcc ${CFLAGS} ${LDFLAGS}"
}

package() {
  cd $pkgname-$pkgver
  install -Dm755 $pkgname -t "$pkgdir"/usr/bin/
}
